:host {
  width: 225px;
  display: flex;
  flex-direction: column;
}
.list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section {
  display: flex;
  align-items: center;
  main {
    display: flex;
    flex: 1;
    margin-left: 1rem;
    padding: 5px;
    border-bottom: solid 1px var(--main-item-bg-color-hover);
    overflow: hidden;
    .number {
      width: 1.5rem;
    }
    .info {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .name,
    .category {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .subtitle {
      color: gray;
      font-size: 0.9rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

  .control {
    display: none;
  }
  &.hover,
  &:hover {
    background-color: var(--main-item-bg-color-hover);
    main {
      border-bottom-color: transparent;
    }
    .control {
      display: block;
    }
  }
}
